package com.zhdl.modules.wallpulley.service;

import com.project.common.service.BaseService;
import com.zhdl.modules.wallpulley.entity.EventRecords;
import com.zhdl.modules.wallpulley.entity.MeasurementData;
import com.zhdl.modules.wallpulley.entity.ParameterSettings;
import com.zhdl.modules.wallpulley.entity.TensileDistance;
import com.zhdl.modules.wallpulley.web.resp.*;

import java.util.List;

public interface TensileDistanceService extends BaseService<EventRecords, Integer> {
    List<EventRecords> findAllEventRecords();

    List<TensileDistance> findAllTensileDistance();

    List<ParameterSettings> findAllParameterSettings();

    List<MeasurementData> findAllMeasurementData();

    ParameterSettings findParameterById(int id);

    TensileDistance findTensileDistanceById(int id);

    EventRecords findEventRecordsById(int id);

    MeasurementData findMeasurementDataById(int id);

    int updateEventRecords(EventRecords resp);

    int saveEventRecords(EventRecordsResp resp);

    int saveMeasurementData(MeasurementDataResp resp);

    void saveParameterSetting(ParameterSettingsResp resp);

    void saveTensileDistance(List<TensileDistanceResp> resps);

    EventInfoResp findInfoByEventId(int eventId);
}
